home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscClipTextPalette / MiscClipText.subproj / MiscPathField.h < prev    next >
Encoding:
Text File  |  1995-07-21  |  944 b   |  40 lines

  1. //
  2. //    MiscPathField.h -- a MiscClipTextField subclass for displaying long 
  3. //                       pathnames
  4. //        Written and Copyright (c) 1995 by Balazs Pataki. 
  5. //                Version 1.0.  All rights reserved.
  6. //
  7. //        This notice may not be removed from this source code.
  8. //
  9. //    This object is included in the MiscKit by permission from the author
  10. //    and its use is governed by the MiscKit license, found in the file
  11. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  12. //    for a list of all applicable permissions and restrictions.
  13. //    
  14.  
  15.  
  16. #import <misckit/MiscClipTextField.h>
  17.  
  18. @interface MiscPathField : MiscClipTextField
  19.  
  20. {
  21.     BOOL    shouldUseTilde;
  22. }
  23.  
  24. - initFrame:(const NXRect *)rect;    
  25.  
  26. - stringWillBeClipped:theString;
  27.  
  28. - setReplaceHomeWithTilde:(BOOL) flag;
  29. - (BOOL)doesReplacesHomeWithTilde;
  30.  
  31. - read:(NXTypedStream*) stream;
  32. - write:(NXTypedStream*) stream;
  33.  
  34.  
  35. @end
  36.  
  37. @interface MiscPathField(IBStuff)
  38. - (const char *)getInspectorClassName;
  39. @end
  40.